import permission from './permission'

const directive = Vue => {
  /**
   * 鉴权，无权禁用元素
   */
  Vue.directive('perm', permission)
}

export default directive
